<?php


use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::group( [],function () {
      Route::get('auth/login','ImController@login');
    }
);

Route::group(
    [
        'middleware' => ['auth.jwt']
    ],
    function () {
        Route::get('auth/user/info','ImController@userInfo');
        Route::get('im/band/user','ImController@bandUser');
        Route::get('im/uid/online','ImController@isUidOnline');
        Route::post('im/send','ImController@sendMessage');
        Route::get('im/message','ImController@messageList');
    }
);







